<%@ page language="java" errorPage="/framework/jsp/error.jsp"
	pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@page
	import="com.xwtech.cring.pub.po.SysUserInfo,com.xwtech.framework.pub.po.FrameLogin"%>

<%@ include file="/framework/jsp/taglibs.jsp"%>
<%@ include file="/cring/jsp/admin/header.jsp"%>
<%@ include file="/cring/jsp/admin/menu.jsp"%>
<script>
	function check(){
		var user_name = modifyUserForm.user_name.value;
		if(user_name == ""){
			alert("请输入姓名！");
			modifyUserForm.user_name.focus();
			return false;
		}
		return true;
	}
</script>
<%
	SysUserInfo userinfo = (SysUserInfo) request
			.getAttribute("userinfo");
	Integer userInfoId = userinfo.getUserInfoId();
	FrameLogin frameLogin = (FrameLogin) request
			.getAttribute("frameLogin");
	String loginName = frameLogin.getLoginName();
%>
<form name="modifyUserForm"
	action="/cring/jsp/admin/bgUserManager.do?method=updateBgUser"
	onSubmit="return check();" method="post" enctype="multipart/form-data">
	<input type="hidden" name="user_info_id" value="<%=userInfoId%>">
	<input type="hidden" name="_url"
		value="/cring/jsp/admin/bgUserList.jsp">
	<input type="hidden" name="_update"
		value="/admin/bgUserInfo_update.xml">
	<table width="100%" border="0" align="center" cellpadding="0"
		cellspacing="0" class="table_big">
		<tr>
			<td>
				<table width="100%" border="0" align="center" cellpadding="0"
					cellspacing="0">
					<tr>
						<td width="4" height="4">
							<img src="/cring/image/admin/title_r4_c3.gif" width="4"
								height="4">
						</td>
						<td height="4">
							<img src="/cring/image/admin/title_r4_c4.jpg" width="100%"
								height="4">
						</td>
						<td width="4" height="4">
							<img src="/cring/image/admin/title_r4_c8.gif" width="4"
								height="4">
						</td>
					</tr>
				</table>
				<table width="100%" border="0" align="center" cellpadding="0"
					cellspacing="0">
					<tr>


						<td width="4" background="/cring/image/admin/title_r5_c3.jpg"
							bgcolor="#CCCCCC">
							&nbsp;
						</td>
						<td bgcolor="#EEF7FD">
							<table width="98%" border="0" align="center" cellpadding="0"
								cellspacing="4">
								<tr>
									<td width="24" align="center">
										<img src="/cring/image/admin/title_r6_c5.gif" width="24"
											height="24">
									</td>
									<td class="font_title_normal">
										用户信息修改
									</td>
								</tr>
							</table>
							<table width="98%" border="0" align="center" cellpadding="0"
								cellspacing="0">
								<tr>
									<td height="12" valign="top">
										<table width="100%" border="0" align="center" cellpadding="0"
											cellspacing="1">
											<tr>
												<td height="5"
													background="/cring/image/admin/title_r10_c5.jpg"></td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
							<table width="97%" border="0" cellpadding="0" cellspacing="1"
								class="table_normal">
								<tr>
									<td valign="middle" class="td_item_right">
										用户名:
									</td>
									<td class="td_normal_left"><%=loginName%>
									</td>
								</tr>
								<tr>
									<td width="100" valign="middle" class="td_item_right">
										姓名:
									</td>
									<td class="td_normal_left">
										<input name="user_name" type="text" class="input_normal"
											maxlength="30"
											value="<%=userinfo.getUserName() == null ? "" : userinfo
					.getUserName()%>">
										<font color="red">*</font>姓名为必填项
									</td>
								</tr>
							</table>
							<br>
							<table border="0" align="center" cellpadding="0" cellspacing="20">
								<tr>
									<td align="center">
										<input type="submit" class="button_xy_normal" id="clear2222"
											value="保 存">
										&nbsp;&nbsp;
										<input type="button" class="button_xy_normal" value="返 回"
											onclick="location.href='/cring/jsp/admin/bgUserList.jsp'"/>
									</td>
								</tr>
							</table>
						</td>
						<td width="4" background="/cring/image/admin/title_r5_c9.jpg"
							bgcolor="#CCCCCC">
							&nbsp;
						</td>
					</tr>
				</table>
				<table width="100%" border="0" align="center" cellpadding="0"
					cellspacing="0">
					<tr>
						<td width="4" height="4">
							<img src="/cring/image/admin/title_r10_c3.gif" width="4"
								height="4">
						</td>
						<td height="4">
							<img src="/cring/image/admin/title_r12_c4.jpg" width="100%"
								height="4">
						</td>
						<td width="4" height="4">
							<img src="/cring/image/admin/title_r10_c8.gif" width="4"
								height="4">
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</form>
<%@ include file="/cring/jsp/admin/footer.jsp"%>

